<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no" />
	<title>友好生鲜</title>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/base.css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/find.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/zepto.js"></script>
</head>
<body>
<!--首页头部-->
<div class="header_body">
	<div class="header_main">
		<div class="header_icon01"><a href="#1"></a></div>
		<div class="header_txt">有好生鲜</div>
		<div class="header_icon02"><a href="#1"></a></div>
	</div>
</div>
<!--内容-->
<div class="find_nav">
	<ul>
	    <c:if test="${type==1 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=1" class="find_a_in find_a_now">全部</a></li>
		</c:if>
	    <c:if test="${type!=1 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=1" class="find_a_in ">全部</a></li>
		</c:if>
	    <c:if test="${type==2 }">
        <li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=2" class="find_a_in find_a_now">有图</a></li>
		</c:if>
	    <c:if test="${type!=2 }">
        <li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=2" class="find_a_in">有图</a></li>
		</c:if>
	    <c:if test="${type==3 }">
        <li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=3" class="find_a_in find_a_now">无图</a></li>
		</c:if>
	    <c:if test="${type!=3 }">
        <li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=3" class="find_a_in">无图</a></li>
		</c:if>
	    <c:if test="${type==4 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=4" class="find_a_in find_a_now">有用</a></li>
		</c:if>
	    <c:if test="${type!=4 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=4" class="find_a_in">有用</a></li>
		</c:if>
	    <c:if test="${type==5 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=5" class="find_a_in find_a_now">时间正序</a></li>
		</c:if>
	    <c:if test="${type!=5 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=5" class="find_a_in">时间正序</a></li>
		</c:if>
	    <c:if test="${type==6 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=6" class="find_a_in find_a_now">时间倒序</a></li>
		</c:if>
	    <c:if test="${type!=6 }">
		<li><a href="${pageContext.request.contextPath}/reception/index_find.cs?type=6" class="find_a_in">时间倒序</a></li>
		</c:if>
	</ul>
</div>
<!--list-->
<div class="find_list_main">
	<!--4张图片的时候-->
	<c:forEach items="${findList}" var="f">
	<div class="find_list">
		<div class="find_list_tit">
			<div class="find_list_tit_img" style="background-image:url(${pageContext.request.contextPath}${f.uImg })"></div>
			<div class="find_list_tit_txt"><p>${f.uName }</p><span>${f.CREATE_TIME }</span></div>
		</div>
		<div class="find_list_txt">
			<p>${f.FIND_CONTEXT }</p>
		</div>
		<div class="find_list_img find_list_img_4">
			<ul>
				<li><a style="background-image:url(${pageContext.request.contextPath}${f.FIND_IMAGE1 })"></a></li>
				<li><a style="background-image:url(${pageContext.request.contextPath}${f.FIND_IMAGE2 })"></a></li>
				<li><a style="background-image:url(${pageContext.request.contextPath}${f.FIND_IMAGE3 })"></a></li>
			</ul>
		</div>
		<div class="find_list_peop">
			<div class="find_list_peop1">
				<span style="background-image:url(${pageContext.request.contextPath}${f.gImg })"></span>
				<p>${f.gdetail }</p>
			</div>
			<div class="find_list_peop2">
				<ul>
					<li style="background-image:url(${pageContext.request.contextPath}${f.uImg })"></li>
				</ul>
				<span>${f.gPayNum }人购买</span>
			</div>
		</div>
		<div class="find_list_but">
			<div class="find_list_but_left"><a href="#1" class="zhan_yes"><span>${f.ATTR1 }人</span>认为有用</a></div>
			<div class="find_list_but_right"><a href="${pageContext.request.contextPath}/reception/details.cs">去购买 ></a></div>
		</div>
	</div>
	</c:forEach>
</div>
<!--底部导航-->
<div class="bot_nav_body">
	<div class="bot_nav_main">
		<ul>
			<li style="width:33.3%"><a href="${pageContext.request.contextPath}/reception/index.cs" class="nav_txt"><span class="nav_icon01" onclick="sub()"></span>首页</a></li>
			<li style="width:33.3%"><a href="${pageContext.request.contextPath }/reception/index_find.cs" class="nav_txt nav_none02"><span class="nav_icon02"></span>发现</a></li>
			<li style="width:33.3%"><a href="${pageContext.request.contextPath }/reception/index_my.cs" class="nav_txt"><span class="nav_icon03"></span>我的</a></li>
		</ul>
	</div>
</div>

</body>
</html>
